<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/common/base.jsp"%>
<%@ taglib uri = "http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%int i=1;%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<base href="<%=basePath%>">

<title>参合记录列表</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="css/admin.css">
<script src="js/jquery-1.4.4.min.js"></script>
<script src="js/admin.js"></script>
</head>
<body>
	<form method="post" action="<%=path%>/biz/record/findPerson" id="listform">
		<div class="panel admin-panel">
			<div class="panel-head">
				<strong class="icon-reorder"> 参合记录列表</strong>
			</div>
			<div class="padding border-bottom">
				<ul class="search" style="padding-left:10px;">
					<li>搜索：</li>
					<li><input type="text" placeholder="请输入搜索户主名字" name="personName"
						class="input"
						style="width:250px; line-height:17px;display:inline-block" /> <a
						href="javascript:void(0)" class="button border-main icon-search"
						onclick="document.getElementById('listform').submit();return false;"> 搜索</a></li>
				</ul>
			</div>
			<table class="table table-hover text-center">
				<tr>
					<th width="50">序号</th>
					<th>家庭编号</th>
					<th>户主姓名</th>
					<th>常住地址</th>
					<th>联系电话</th>
					<th>操作</th>
				</tr>
				<c:forEach items="${list}" var="i">
				<tr>
					<td><%=i++ %></td>
					<td>${i.famiCode}</td>
					<td>${i.persName}</td>
					<td>${i.liveAddress}</td>
					<td>${i.telephone}</td>
					<td><div class="button-group">
						<a class="button border-main"
						   href="<%=path%>/biz/record/openPart?famiCode=${i.famiCode}"><span
								class="icon-edit"></span> 参合登记</a>
					</div></td>
				</tr>
				</c:forEach>
			</table>
			<div class="pagelist">
				<a
					href="<%=path%>/system/RoleServlet?m=list&pageNo=">上一页</a>
				<a href="javascript:void(0)">上一页</a>
				<span class="current"></span>
				<a href="<%=path%>/system/RoleServlet?m=list&pageNo="></a>
				<a
					href="<%=path%>/system/RoleServlet?m=list&pageNo=">下一页</a>
				<a href="javascript:void(0)">下一页</a>
				<a
					href="<%=path%>/system/RoleServlet?m=list&pageNo=">尾页</a>
			</div>
		</div>
	</form>

</body>
</html>
